package controllers;

import java.util.ArrayList;
import java.util.List;

import models.HitchhikerJourney;
import models.DriverJourney;
import models.Journey;
import models.Message;
import models.User;
import models.Vehicle;
import common.FBSecure;

import play.data.validation.Required;
import play.mvc.Controller;
import play.mvc.With;

@With(FBSecure.class)
public class Denemes extends FBController{
	
	public static void deneme(){
		
		setFbIdandName();

		User user = getUser();
		
		//List<CreateJourney> journeyList = new ArrayList<CreateJourney>();
		//journeyList = user.getCreateJourneyList();
		
		//List<HitchhikerJourney> journeyhitcList = new ArrayList<HitchhikerJourney>();
		//journeyhitcList = user.getHitchhikerJourneyList();
		
		List<Message> sended = new ArrayList<Message>();
		sended = user.getSentMessages();
		
		render(user, sended);
		
		
	}
}